package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author Tu
 * @date 2023/4/11 10:44
 */
@SpringBootApplication
//该注解用于向使用consul或者zookeeper作为注册中心时注册服务
@EnableDiscoveryClient
public class ProviderConsul8006 {

    public static void main(String[] args) {
        SpringApplication.run(ProviderConsul8006.class, args);
    }

}
